a {
  text-decoration: none;
}
html {
  font-size: 50px;
}
@media screen and (min-width: 320px) {
  html {
    font-size: 21.33333333px;
  }
}
@media screen and (min-width: 360px) {
  html {
    font-size: 24px;
  }
}
@media screen and (min-width: 375px) {
  html {
    font-size: 25px;
  }
}
@media screen and (min-width: 384px) {
  html {
    font-size: 25.6px;
  }
}
@media screen and (min-width: 400px) {
  html {
    font-size: 26.66666667px;
  }
}
@media screen and (min-width: 414px) {
  html {
    font-size: 27.6px;
  }
}
@media screen and (min-width: 424px) {
  html {
    font-size: 28.26666667px;
  }
}
@media screen and (min-width: 480px) {
  html {
    font-size: 32px;
  }
}
@media screen and (min-width: 540px) {
  html {
    font-size: 36px;
  }
}
@media screen and (min-width: 720px) {
  html {
    font-size: 48px;
  }
}
@media screen and (min-width: 750px) {
  html {
    font-size: 50px;
  }
}
input {
  outline: none;
  border: 0;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
li {
  list-style: none;
}
body {
  min-width: 320px;
  width: 15rem;
  height: 2000px;
  margin: 0 auto;
  line-height: 1.5;
  font-family: Arial,Helvetica;
  background-color: #f7f7f7;
}
/*头部搜索框部分*/
.search-content {
  position: fixed;
  z-index: 999;
  top: 0;
  width: 15rem;
  margin: 0 auto;
  height: 3.6rem;
  background-color: #ff8583;
}
.search-content .search-hd {
  display: flex;
  height: 1.76rem;
}
.search-content .search-hd .classify {
  margin: 0.3rem 0.4rem 0.4rem 0.7rem;
  width: 0.72rem;
  height: 1.2rem;
  background: url(../images/classify.png) no-repeat;
  background-size: 0.72rem 1.2rem;
}
.search-content .search-hd .header-pic {
  flex: 1;
  text-align: center;
  height: 1.76rem;
}
.search-content .search-hd .header-pic img {
  width: 7.8rem;
  height: 1.52rem;
}
.search-content .search-hd .login {
  margin: 0.3rem 0.6rem 0.4rem 0.4rem;
  width: 0.72rem;
  height: 1.2rem;
  background: url(../images/login.png) no-repeat;
  background-size: 0.72rem 1.2rem;
}
.search-content .search-bd {
  width: 14.04rem;
  height: 1.76rem;
  margin: 0 auto;
}
.search-content .search-bd input {
  width: 100%;
  height: 1.3rem;
  line-height: 1.3rem;
  border-radius: 0.66rem;
  font-size: 0.5rem;
  padding-left: 0.6rem;
  color: #757575;
}
/*轮播图部分*/
.swiper-img {
  margin-top: 3.5rem;
  height: 6rem;
}
.swiper-img img {
  width: 14.04rem;
  height: 5rem;
  border-radius: 0.4rem;
}
.swiper-img .swiper-container {
  width: 100%;
  height: 100%;
  background-color: #ff8583;
}
.swiper-img .swiper-slide {
  text-align: center;
  font-size: 0.36rem;
  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}
.swiper-img .swiper-pagination {
  bottom: 0.4rem !important;
}
/*广告部分*/
.ad {
  height: 4.0212rem;
}
.ad ul {
  display: flex;
}
.ad ul li {
  flex: 1;
}
.ad ul li img {
  width: 100%;
}
/*导航栏nav部分*/
.nav {
  height: 6.16rem;
  background-color: #f4f4f4;
}
.nav ul {
  overflow: hidden;
  display: flow;
}
.nav ul li {
  float: left;
  width: 3rem;
  text-align: center;
}
.nav ul li a {
  display: block;
  width: 100%;
}
.nav ul li a img {
  display: block;
  width: 1.68rem;
  height: 1.68rem;
  margin: 0.4rem auto 0;
}
.nav ul li a p {
  font-size: 0.44rem;
  color: #666666;
}
/*新人模块newcomer*/
.newcomer {
  margin-bottom: 0.48rem;
  height: 4.68rem;
}
.newcomer a {
  float: left;
}
.newcomer .newItem1 {
  width: 7.47rem;
  height: 4.68rem;
}
.newcomer .newItem1 img {
  width: 100%;
  height: 100%;
}
.newcomer .newItem2,
.newcomer .newItem3 {
  width: 3.725rem;
  height: 4.68rem;
}
.newcomer .newItem2 img,
.newcomer .newItem3 img {
  width: 100%;
}
.newcomer .newItem2 {
  margin-right: 0.04rem;
}
.left-right-area {
  width: 7rem;
  height: 5.16rem;
}
.left-right-area .title {
  height: 0.8rem;
  margin: 0.36rem 0.16rem 0 0.48rem;
  color: #333;
  font-size: 0.56rem;
  font-weight: 700;
}
.left-right-area .desc {
  width: 6rem;
  height: 0.6rem;
  margin: 0.08rem 0 0 0.48rem;
  font-size: 0.48rem;
  color: #999999;
}
.left-right-area ul {
  display: flex;
  width: 7rem;
  padding-left: 0.56rem;
  margin-top: 0.1rem;
}
.left-right-area ul li {
  width: 2.4rem;
  height: 2.98rem;
  text-align: center;
}
.left-right-area ul li a {
  width: 100%;
}
.left-right-area ul li a p {
  height: 0.56rem;
  line-height: 0.56rem;
  font-size: 0.44rem;
  color: #FF5500;
}
.left-right-area ul li img {
  display: block;
  width: 100%;
}
.left-right-area ul .left {
  margin-right: 1.1rem;
}
.left-right-area ul .left .price {
  margin-top: 0.02rem;
}
/*miaosha模块*/
.miaosha-area,
.recmd-area2 {
  display: flex;
  flex-wrap: wrap;
  width: 14.04rem;
  border-radius: 0.24rem 0.24rem 0 0;
  border-bottom: 1px solid #f2f2f2;
  margin: 0 auto;
  background-color: #ffffff;
  overflow: hidden;
}
.miaosha-area .miaosha-left-area,
.recmd-area2 .miaosha-left-area,
.miaosha-area .recmd-left-area,
.recmd-area2 .recmd-left-area {
  border-right: 1px solid #f2f2f2;
}
/*推荐模块*/
.recommend {
  display: flex;
  width: 14.04rem;
  height: 3.44rem;
  border-radius: 0 0 0.24rem 0.24rem;
  margin: 0 auto;
  background-color: #ffffff;
}
.recommend .title-area {
  width: 3.46rem;
  padding: 0.94rem 0.36rem 0;
}
.recommend .title-area .title {
  font-size: 0.64rem;
  font-weight: 700;
  color: #444444;
}
.recommend .title-area .desc {
  font-size: 0.48rem;
  color: #999;
}
.recommend ul {
  display: flex;
}
.recommend ul li {
  margin-right: 0.2rem;
  width: 2.4rem;
}
.recommend ul li a {
  overflow: hidden;
  display: block;
  width: 100%;
  height: 100%;
}
.recommend ul li a img {
  display: block;
  width: 2rem;
  height: 2rem;
  margin: 0.4rem auto 0;
}
.recommend ul li a p {
  font-size: 0.44rem;
  text-align: center;
  color: #333;
  overflow: hidden;
  /*超出部分隐藏*/
  white-space: nowrap;
  /*不换行*/
  text-overflow: ellipsis;
  /*超出部分文字以...显示*/
}
/*推荐榜单模块*/
.recommended-list {
  /*榜单1*/
  /*榜单2*/
}
.recommended-list a {
  display: block;
}
.recommended-list .recmd-list-hd {
  height: 1.2rem;
}
.recommended-list .recmd-list-hd img {
  height: 1.2rem;
}
.recommended-list .recmd-list-bd {
  width: 14.04rem;
  margin: 0 auto;
}
.recommended-list .recmd-list-bd ul {
  display: flex;
}
.recommended-list .recmd-list-bd ul li {
  position: relative;
  width: 4.52rem;
  height: 5.4rem;
  border-radius: 0.24rem;
  margin-right: 0.2rem;
  background-color: #ffffff;
  overflow: hidden;
}
.recommended-list .recmd-list-bd ul li .good {
  display: block;
  width: 3rem;
  height: 3rem;
  margin: 0.3rem 0.76rem 0;
}
.recommended-list .recmd-list-bd ul li .bg {
  position: absolute;
  left: 0;
  bottom: 0;
  display: block;
  width: 100%;
  height: 1.86rem;
}
.recommended-list .recmd-list-bd ul li P {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #FFF;
  width: 100%;
}
.recommended-list .recmd-list-bd ul li .three-name {
  width: 2rem;
  height: 0.68rem;
  border: 2px solid #d9a87a;
  border-radius: 0.4rem;
  background-color: #fff;
  font-size: 0.44rem;
  color: #d9a87a;
}
.recommended-list .recmd-list-bd ul li .three-title {
  top: 4rem;
  font-size: 0.52rem;
}
.recommended-list .recmd-list-bd ul li .three-desc {
  top: 4.7rem;
  font-size: 0.44rem;
}
.recommended-list .recmd-area2 {
  margin-top: 0.3rem;
}
/*商品goods模块*/
.goods-list {
  margin-top: 0.6rem;
}
.goods-list .goods-hd {
  display: block;
  width: 14.04rem;
  margin: 0 auto;
}
.goods-list .goods-hd img {
  width: 100%;
}
.goods-list .goods-bd {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 14.04rem;
  margin: 0 auto;
  /*公共样式部分*/
  /*左边列表*/
  /*右边列表*/
}
.goods-list .goods-bd ul {
  width: 6.84rem;
}
.goods-list .goods-bd ul li {
  width: 100%;
  border-radius: 0.24rem;
  margin-bottom: 0.36rem;
  padding-bottom: 0.2rem;
  background-color: #fff;
}
.goods-list .goods-bd ul li a {
  display: block;
}
.goods-list .goods-bd ul li .goods-pic {
  width: 100%;
  height: 6.84rem;
}
.goods-list .goods-bd ul li h1 {
  width: 6.36rem;
  height: 1.34rem;
  line-height: 0.68rem;
  margin: 0.36rem auto 0;
  font-size: 0.52rem;
  color: #333;
  /*只兼容webkit内核的浏览器*/
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.goods-list .goods-bd ul li p {
  display: flex;
  height: 0.48rem;
  margin: 0.22rem 0.24rem 0.4rem;
  flex-wrap: wrap;
  overflow: hidden;
}
.goods-list .goods-bd ul li .dajvhui,
.goods-list .goods-bd ul li .discount {
  height: 0.48rem;
  border: 1px solid #ffbb00;
  border-radius: 0.12rem;
  margin: 0 0.06rem 0.04rem 0.04rem;
  line-height: 0.48rem;
  font-size: 0.36rem;
  color: #333;
  background-color: #FEFBEE;
  padding: 0 0.24rem;
}
.goods-list .goods-bd ul li .price-comment {
  display: flex;
  width: 6.6rem;
  margin-left: 0.26rem;
}
.goods-list .goods-bd ul li .price-comment .price {
  display: flex;
}
.goods-list .goods-bd ul li .price-comment .price span {
  font-size: 0.48rem;
  font-weight: 700;
  color: #FF4422;
}
.goods-list .goods-bd ul li .price-comment .comment {
  display: flex;
  margin-left: 0.26rem;
}
.goods-list .goods-bd ul li .price-comment .comment span {
  font-size: 0.4rem;
  color: #999;
}
.goods-list .goods-bd .left-list .left-logo {
  display: block;
  width: 2.56rem;
  height: 0.48rem;
  margin: 0 0.12rem 0.04rem 0;
}
.goods-list .goods-bd .right-list .right-logo {
  display: block;
  width: 0.96rem;
  height: 0.48rem;
  margin: 0 0.12rem 0.04rem 0;
}
/*footer模块*/
.footer {
  position: fixed;
  z-index: 999;
  bottom: 0;
  width: 15rem;
  margin: 0 auto;
  height: 2.02rem;
  background-color: #fff;
}
.footer ul {
  display: flex;
  width: 100%;
  height: 100%;
}
.footer ul li {
  width: 3rem;
}
.footer ul li a {
  display: block;
}
.footer ul li a img {
  display: block;
  width: 0.96rem;
  height: 0.96rem;
  margin: 0.24rem auto 0;
}
.footer ul li a p {
  font-size: 0.4rem;
  font-weight: 700;
  color: #666;
  text-align: center;
}
.footer ul li a .current {
  color: #000;
}
